<?php
include("../inc/Function_user.php");
upower();
$page = isset($_GET['page'])?intval($_GET['page']):1;
$psize = 20;
$info = userinfo();
$list = userlist($page,$psize,$info['Id']);
$ztnum = ztnum(0,$info['Id']);
if($list){
    $msg = 1;
    $num = userlistnum($info['Id']);
    $page = page1($num,$psize,$page);
    $tpl->assign("page",$page);
    
    $tpl->assign("mlist",$list);
}else{
    $msg = 0;
    $num = 0;
}

$tpl->assign("info",$info);
$tpl->assign("num",$num);
$tpl->assign("tdarr",$tdarr);
$tpl->assign("tdarr1",$tdarr1);
$tpl->assign("msg",$msg);
$tpl->show("team");
?>